package com.gqzmy.springboot3.entity;

import com.gqzmy.springboot3.config.MybatisId;
import com.gqzmy.springboot3.mapper.base.TableBase;

import java.io.Serial;

/**
 * @author 周小哥  gqzmy@163.com 2022/12/1 11:41
 * 用户
 */
public class User extends TableBase {

    @Serial
    private static final long serialVersionUID = -6136392170392350031L;

    @MybatisId
    private String id;

    private String userAccount;

    private String userName;

    private String password;

    private String email;

    public User() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
